﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using ActivitiesControl.GUI.Silverlight.RemoteServices;
using ActivitiesControl.GUI.Silverlight.Utils;
using ActivitiesControl.GUI.Silverlight.Views;

namespace ActivitiesControl.GUI.Silverlight
{
	public partial class Login
		: Page
	{
		public Login()
		{
			InitializeComponent();
			Loaded += new RoutedEventHandler(Login_Loaded);
		}

		void Login_Loaded(object sender, RoutedEventArgs e)
		{
			ShowLoginModal();
		}

		private void hyperlinkButton1_Click(object sender, RoutedEventArgs e)
		{
			ShowLoginModal();
		}

		void ShowLoginModal()
		{
			LoginModal login = new LoginModal();
			login.Show();
		}

		
	}
}
